package com.lvshi0797.cms.helper;

import org.hibernate.dialect.MySQL5InnoDBDialect;

/**
 * 重写方言，解决建表时的字符问题
 * 
 * @author muye
 *
 */
public class CustomMysqlDialect extends MySQL5InnoDBDialect {
	public String getTableTypeString() {
		return " ENGINE=InnoDB DEFAULT CHARSET=utf8";
	}
}
